﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
	<head>
		<title>Get web visitor's location</title>
		<meta name="robots" value="none" />
	</head>
	<body>
	<div id="map"></div>
	<script language="Javascript" src="http://gd.geobytes.com/gd?after=-1&variables=GeobytesCountry,GeobytesCity,GeobytesRegion,GeobytesLatitude,GeobytesLongitude">
    </script>
<script src="http://maps.google.com/maps?file=api&amp;v=2&key=ABQIAAAAM7Q_faNl_-qMlbIP9g6HQRSTLvrZcwmYac0cpoEnEYdklnRe2hQicASFLp-E3FovHabQw8T5R4uiVg" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[

    function load() {
        if (GBrowserIsCompatible()) {
            var map = new GMap2(document.getElementById("map"));
            map.addControl(new GLargeMapControl());
            map.addControl(new GMapTypeControl());
            map.addControl(new GScaleControl());
            map.enableContinuousZoom();

            map.setCenter(new GLatLng(sGeobytesLatitude, sGeobytesLongitude), 11);

        }
    }

    function GUnload() {
        if (window.GUnloadApi) {
            GUnloadApi();
        }
    }

//]]>
</script>
	</body>
</html>
